package com.sharainy.service.impl;


import com.sharainy.dao.RegionMapper;
import com.sharainy.pojo.Region;
import com.sharainy.service.RegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RegionServiceImpl implements RegionService {
    @Autowired
    private RegionMapper regionMapper;

    public List<Region> selectAllRegions(String companyId) {
        return regionMapper.selectRegion(companyId);
    }
}
